package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.risk.BpSafeRiskContent;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

public interface BpSafeRiskContentRepository extends JpaRepository<BpSafeRiskContent, Long> {


    @Transactional
    @Modifying
    @Query(value = "truncate table WWYT_BP_JUDGE_SAFE_RISK_CONTENT",nativeQuery = true)
    void truncateTable();

}
